package com.biomatch.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName(value = "ls_ContainerLock")
public class ContainerLock {

    @TableId(value = "id")
    private Integer id;

    @TableField(value = "containerLockId")
    private String containerLockId;

    @TableField(value = "containerLockType")
    private String containerLockType;

    @TableField(value = "containerLockName")
    private String containerLockName;

    @TableField(value = "containerID")
    private String containerID;

    @TableField(value = "createTime")
    private Date createTime;

    @TableField(value = "createtorId")
    private String createtorId;

    @TableField(value = "positionId")
    private String positionId;

//    @TableField(exist = false)
//    private String groupId;
//
//    @TableField(exist = false)
//    private String ruleId;

    @TableField(exist = false)
    private Group group;

    @TableField(exist = false)
    private Rule rule;

    @TableField(exist = false)
    private List<UserInfo> users;

    @TableField(exist = false)
    private Position position;

    @TableField(exist = false)
    private Role role;

    @TableField(exist = false)
    private UserInfo superUser;


}
